home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / librw / RWIdentitySet.z / RWIdentitySet
Encoding:
Text File  |  1998-10-30  |  2.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. RRRRWWWWIIIIddddeeeennnnttttiiiittttyyyySSSSeeeetttt((((3333CCCC++++++++))))                                        RRRRWWWWIIIIddddeeeennnnttttiiiittttyyyySSSSeeeetttt((((3333CCCC++++++++))))
  5.  
  6.  
  7.  
  8. NNNNaaaammmmeeee
  9.      RWIdentitySet - Rogue Wave library class
  10.  
  11. SSSSyyyynnnnooooppppssssiiiissss
  12.               #include <rw/idenset.h>
  13.  
  14.  
  15.  
  16.               typedef RWIdentitySet IdentitySet; // Smalltalk typedef
  17.           RWIdentitySet a;
  18.  
  19.  
  20.  
  21.  
  22. DDDDeeeessssccccrrrriiiippppttttiiiioooonnnn
  23.      The class RRRRWWWWIIIIddddeeeennnnttttiiiittttyyyySSSSeeeetttt is similar to class RRRRWWWWSSSSeeeetttt except that items are
  24.      found by requiring that they be iiiiddddeeeennnnttttiiiiccccaaaallll (iiii....eeee...., have the same address)
  25.      as the key, rather than being equal (iiii....eeee...., test true for iiiissssEEEEqqqquuuuaaaallll(((())))).  TTTThhhheeee
  26.      iiiitttteeeerrrraaaattttoooorrrr ffffoooorrrr tttthhhhiiiissss ccccllllaaaassssssss iiiissss RRRRWWWWSSSSeeeettttIIIItttteeeerrrraaaattttoooorrrr.
  27.  
  28. PPPPeeeerrrrssssiiiisssstttteeeennnncccceeee
  29.      Polymorphic
  30.  
  31. PPPPuuuubbbblllliiiicccc CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr
  32.               RRRRWWWWIIIIddddeeeennnnttttiiiittttyyyySSSSeeeetttt(size_t n = RWDEFAULT_CAPACITY);
  33.  
  34.  
  35.      Construct an empty identity set with nnnn hashing buckets.
  36.  
  37.  
  38.  
  39.  
  40.  
  41. PPPPuuuubbbblllliiiicccc MMMMeeeemmmmbbbbeeeerrrr FFFFuuuunnnnccccttttiiiioooonnnnssss
  42.      The user interface to this class is identical to class RRRRWWWWSSSSeeeetttt and is not
  43.      reproduced here.  The only difference between the classes is that keys
  44.      are found on the basis of iiiiddddeeeennnnttttiiiittttyyyy rather than eeeeqqqquuuuaaaalllliiiittttyyyy, and that the
  45.      virtual function iiiissssAAAA(((()))) returns ________RRRRWWWWIIIIDDDDEEEENNNNTTTTIIIITTTTYYYYSSSSEEEETTTT, the CCCCllllaaaassssssssIIIIdddd for
  46.      RRRRWWWWIIIIddddeeeennnnttttiiiittttyyyySSSSeeeetttt.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.